<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    // 成功回调与失败回调均是异步调用
    const p = new Promise((resolve,reject)=>{
		setTimeout(()=>{
			resolve(200);
        })
    })
	p.then(value=>{
		console.log(value);
    })
	console.log("over")
</script>
</html>